const downloadGitRepo = require("download-git-repo");

module.exports = (repository, projectName) => {
  return new Promise((resolve, reject) => {
    downloadGitRepo(repository, projectName, { clone: true }, function (err) {
      resolve(err);
    });
  });
};
